package com.sl.au.entity;

import javax.persistence.*;

/**
 * 备品设备管理实体表
 */
@Entity
@Table(name = "sl_crm_replacementDevice")
public class ReplacementDevice extends Root {
	
	/**所属合同ID(四类合同均可)*/
	@Column(name = "sContractID")
	private java.lang.String contractID;
	/**供方合同编号(关联项目合同后出现)*/
	@Column(name = "sSupplierCode")
	private java.lang.String supplierCode;
	/** 名称 */
	@Column(name = "sDeviceName")
	private java.lang.String deviceName;
	/** 数量 */
	@Column(name = "nAmount")
	private java.lang.Float amount;
	/** 单位 */
	@Column(name = "sUnit")
	private java.lang.String unit;
	/** 价格 */
	@Column(name = "nPrice")
	private java.lang.Float price;
	/** 折扣价格 */
	@Column(name = "nDiscount")
	private java.lang.Float discount;
	/** 规格型号 */
	@Column(name = "sType")
	private java.lang.String type;
	/** 主机类别 */
	@Column(name = "sHostType")
	private java.lang.String hostType;
	
	/** 材料 */
	@Column(name = "sMaterial")
	private java.lang.String material;
	
	/** 备注 */
	@Column(name = "sMemo")
	private java.lang.String memo;
	
	/**附件个数 */
	@Transient
	private java.lang.Integer attachNumber;
	

	public java.lang.String getMaterial() {
		return material;
	}
	public void setMaterial(java.lang.String material) {
		this.material = material;
	}
	public java.lang.Integer getAttachNumber() {
		return attachNumber;
	}
	public void setAttachNumber(java.lang.Integer attachNumber) {
		this.attachNumber = attachNumber;
	}
	public java.lang.String getContractID() {
		return contractID;
	}
	public void setContractID(java.lang.String contractID) {
		this.contractID = contractID;
	}
	public java.lang.String getSupplierCode() {
		return supplierCode;
	}
	public void setSupplierCode(java.lang.String supplierCode) {
		this.supplierCode = supplierCode;
	}
	public java.lang.String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(java.lang.String deviceName) {
		this.deviceName = deviceName;
	}
	public java.lang.Float getAmount() {
		return amount;
	}
	public void setAmount(java.lang.Float amount) {
		this.amount = amount;
	}
	public java.lang.String getUnit() {
		return unit;
	}
	public void setUnit(java.lang.String unit) {
		this.unit = unit;
	}
	public java.lang.Float getPrice() {
		return price;
	}
	public void setPrice(java.lang.Float price) {
		this.price = price;
	}
	public java.lang.Float getDiscount() {
		return discount;
	}
	public void setDiscount(java.lang.Float discount) {
		this.discount = discount;
	}
	public java.lang.String getType() {
		return type;
	}
	public void setType(java.lang.String type) {
		this.type = type;
	}
	public java.lang.String getHostType() {
		return hostType;
	}
	public void setHostType(java.lang.String hostType) {
		this.hostType = hostType;
	}
	public java.lang.String getMemo() {
		return memo;
	}
	public void setMemo(java.lang.String memo) {
		this.memo = memo;
	}

}
